package net.luohuasheng.bee.proxy.mybatis.dao;

import net.luohuasheng.bee.proxy.mybatis.entity.Api;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ApiDao extends BasicCrudDao<Api> {
    @Select("select * from app_api where id = #{id} ")
    List<Api> selectById(@Param("id") Long id);

    @Delete("delete from app_api_test where id=50000")
    void deleteValue();
}
